//
//  Card.cpp
//  Test
//
//  Created by Pedram Ardeshirzadeh on 22-07-12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#include "Card.h"

Card::Card(string n, string nr, string d) {
    name = n;
    number = nr;
    description = d;
}

void Card::setName(string n) {
    name = n;
}

string Card::getName() {
    return name;
}

void Card::setNumber(string nr) {
    number = nr;
}

string Card::getNumber() {
    return number;
}

void Card::setDescription(string d) {
    description = d;
}

bool Card::operator ==(const Card &other) {
    return (number == other.number);
}

bool Card::operator !=(const Card &other) {
    return !(*this == other);
}

string Card::getDescription() {
    return description;
}

Card::~Card(){
    
}